package com.mccken.designpattern.strategy.strategy_03.sub_srategy;

import com.mccken.designpattern.strategy.strategy_03.IPromotionStrategy;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2024-01-14 20:32
 **/
public class GroupbuyStrategy implements IPromotionStrategy {
	@Override
	public double doPromotion(double price) {
		System.out.println("拼团成功，打9折");
		return price * 0.9;
	}
}
